﻿@model DayWinProjects
<div class="user-right">
    <div class="user-stock" style="margin-top: 0">
        <div class="stock-title">
            <em>天天赢</em>
            <a href="@Url.DomainRouteUrl(AreasConfig.Web, "index", "daywin")">进行中<i>@Model.TotalCount</i>笔</a>
        </div>
        @if (Model.TotalCount <= 0)
        {
            <a href="" class="stock-add">我要申请</a>
        }
        @foreach (DayWinProject dayWin in Model.Items)
        {
            <div class="items">
                <div class="table_title">
                    <em class="fr">交易天数：@DateTime.Now.DateDiff(dayWin.StartProjectTime)天</em>
                    <a target="_blank" class="blue" href="@Url.DomainRouteUrl(AreasConfig.Web,new{controller="daywin",action="project",id=dayWin.ProjectId})">@dayWin.ProjectNumber</a>
                </div>
                <div class="table_detail">
                    <table>
                        <tbody>
                            <tr>
                                <td width="104">
                                    <p class="gray">总操盘资金</p>
                                    <p>@dayWin.TotalTrade.MoneyFormat()<em class="f12">元</em></p>
                                </td>
                                <td width="104">
                                    <p class="gray">亏损警告线</p>
                                    <p>@dayWin.LossWarLine.MoneyFormat()<em class="f12">元</em></p>
                                </td>
                                <td width="104">
                                    <p class="gray">亏损平仓线</p>
                                    <p>@dayWin.LossOpenLine.MoneyFormat()<em class="f12">元</em></p>
                                </td>
                                <td width="104">
                                    <p class="gray">账户管理费</p>
                                    <p>@dayWin.ManageMoney<em class="f12">元/天</em></p>
                                </td>
                                <td width="104" style="padding-top:15px;">
                                    <em class="red">@CommonFunc.GetProjectState(dayWin.ProjectState)</em>
                                </td>
                                <td style="padding-top:15px;">
                                    <div class="relative" style="width:102px;">
                                        <a href="#" class="ui-btn state2">交易账户</a>
                                        <div class="opmenu">
                                            <a href="#" data-text="点击这里，查看股票交易账户和密码">交易账户</a>
                                            <a href="#" data-text="追加保证金可以提高抗风险能力，还能增加总操盘资金">追加保证金</a>
                                            <a target="__blank" href="@Url.DomainRouteUrl(AreasConfig.Web,new{controller="daywin",action="project",id=dayWin.ProjectId})">方案详情</a>
                                        </div>
                                    </div>
                                </td>
                            </tr>
                        </tbody>
                    </table>
                </div>
                <div class="jyzh">
                    <div class="w">收起</div>
                    重点提醒：交易前请先阅读<a class="red" target="_blank" href="@Url.DomainRouteUrl(AreasConfig.Web,new{controller="help",action="daywin",id=dayWin.ProjectId})">《天天赢规则说明》</a>
                    <a class="red" href='javascript:X.scheme.limitStock([["300064","豫金刚石"],["300088","长信科技"],["600638","新黄浦"],["000718","苏宁环球"],["002575","群兴玩具"],["300048","合康变频"],["600869","智慧能源"],["600338","西藏珠峰"],["002557","洽洽食品"],["002573","国电清新"],["002375","亚厦股份"],["002378","章源钨业"],["600725","云维股份"],["600701","工大高新"]]);'>《今日限制股》</a>
                    <br>
                    交易账户：@dayWin.TradingAccount&nbsp;<br>交易密码：@dayWin.TradingPassword（为了您的资金安全，请妥善保管好密码）&nbsp;<br>交易软件：<a target="_blank" href="#">Homs钱江版（独立）</a>&nbsp;&nbsp;&nbsp;&nbsp;<span class="red">←下载时一定要选择正确的交易软件哦！</span>
                </div>
            </div>
        }
    </div>
</div>